package com.hhit.zhgd.domain.entity

import com.baomidou.mybatisplus.annotation.FieldFill
import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import java.util.Date

@TableName("error_log")
data class ErrorLog(
    @TableId(type = IdType.AUTO)
    val id: Long? = null,
    val url: String? = null,
    val method: String? = null,
    val params: String? = null,
    val message: String? = null,
    val exception: String? = null,
    @TableField(fill = FieldFill.INSERT)
    var createTime: Date?=null
) : java.io.Serializable {
    companion object {
        private const val serialVersionUID = 1L
    }
}
